package androidx.test.espresso.base;

import androidx.test.espresso.Root;
import androidx.test.espresso.base.RootViewPicker;
import androidx.test.espresso.core.internal.deps.dagger.internal.Factory;
import java.util.concurrent.atomic.AtomicReference;
import javax.inject.Provider;
import org.hamcrest.Matcher;

/* loaded from: classes.dex */
public final class RootViewPicker_RootResultFetcher_Factory implements Factory<RootViewPicker.RootResultFetcher> {
    private final Provider<ActiveRootLister> activeRootListerProvider;
    private final Provider<AtomicReference<Matcher<Root>>> rootMatcherRefProvider;

    public RootViewPicker_RootResultFetcher_Factory(Provider<ActiveRootLister> activeRootListerProvider, Provider<AtomicReference<Matcher<Root>>> rootMatcherRefProvider) {
        this.activeRootListerProvider = activeRootListerProvider;
        this.rootMatcherRefProvider = rootMatcherRefProvider;
    }

    @Override // javax.inject.Provider
    public RootViewPicker.RootResultFetcher get() {
        return provideInstance(this.activeRootListerProvider, this.rootMatcherRefProvider);
    }

    public static RootViewPicker.RootResultFetcher provideInstance(Provider<ActiveRootLister> activeRootListerProvider, Provider<AtomicReference<Matcher<Root>>> rootMatcherRefProvider) {
        return new RootViewPicker.RootResultFetcher(activeRootListerProvider.get(), rootMatcherRefProvider.get());
    }

    public static RootViewPicker_RootResultFetcher_Factory create(Provider<ActiveRootLister> activeRootListerProvider, Provider<AtomicReference<Matcher<Root>>> rootMatcherRefProvider) {
        return new RootViewPicker_RootResultFetcher_Factory(activeRootListerProvider, rootMatcherRefProvider);
    }

    public static RootViewPicker.RootResultFetcher newRootResultFetcher(ActiveRootLister activeRootLister, AtomicReference<Matcher<Root>> rootMatcherRef) {
        return new RootViewPicker.RootResultFetcher(activeRootLister, rootMatcherRef);
    }
}
